package com.aqsare;

import java.io.Serializable;

public class candle implements Serializable{
private long time;
private double open;
private double high;
private double close;
private double low;
private int volume;
private int max;


public candle( long time, double open, double high, double low, double close, int volume, int max)  {
	
	this.setTime(time);
	this.setOpen(open);
	this.setHigh(high);
	this.setClose(close);
	this.setLow(low);
	this.setVolume(volume);
	this.setMax(max);
	
}

public long getTime() {
	return time;
}

public void setTime(long time) {
	this.time = time;
}

public double getOpen() {
	return open;
}

public void setOpen(double open) {
	this.open = open;
}

public double getClose() {
	return close;
}

public void setClose(double close) {
	this.close = close;
}

public double getHigh() {
	return high;
}

public void setHigh(double high) {
	this.high = high;
}

public int getVolume() {
	return volume;
}

public void setVolume(int volume) {
	this.volume = volume;
}

public double getLow() {
	return low;
}

public void setLow(double low) {
	this.low = low;
}

public int getMax() {
	return max;
}

public void setMax(int max) {
	this.max = max;
}
}
